home *** CD-ROM | disk | FTP | other *** search
/ Software USA 4 #1 / Software USA Volume 4.01.iso / mac / Home and Office / DragStrip / Scripting DragStrip / Scripting DragStrip Read Me
Encoding:
Text File  |  1997-10-23  |  3.9 KB  |  78 lines  |  [TEXT/ttxt]

  1. Scripting DragStrip Read Me
  2. AppleScript™ is a scripting  language which, through Apple events, allow you to automate and integrate applications.  
  3.  
  4. If you haven't used AppleScript™ before, DragStrip is a great place to start.  DragStrip integrates well with the Finder since it uses Finder objects, such as folders, documents and applications.  There are some excellent books available which cover the AppleScript™ language and will help you to write scripts to automate DragStrip.
  5.  
  6. We have included some sample scripts and documentation to help you when writing scripts for DragStrip™.  You can take a look at the scripts for all these applications.
  7.  
  8.  
  9. To view the sample scripts
  10. To view the script of these applications, you need an AppleScript™ editor such as Script Editor.
  11. 1.    Open Script Editor
  12. 2.    Select Open from the File menu
  13. 3.    Select the script you want to view and click Open
  14.  
  15.  
  16.  
  17. Sample Scripts
  18. Iconize All Strips 
  19. This application iconizes all currently opened windows.  It performs the same action as if the user selected each open strip one at a time and selected Iconize in the Options menu.  After the strips have been iconized, you can reopen them by clicking on the iconized strip.
  20.  
  21.  
  22. Get DragStrip Info 
  23. This application displays information about DragStrip such as the version, amount of RAM allocated, amount of RAM available and the number of currently opened strips.
  24.  
  25.  
  26. Basic DragStrip Setup 
  27. This application creates a new strip and installs the System folder, Apple Menu Items folder, Control Panels folder, Extensions folder and all currently mounted disks.
  28.  
  29.  
  30.  
  31.  
  32. Other Cool Scripts
  33. Cron 
  34. This application launches all applications and documents, installed on a strip called "Cron Strip", once every hour.  The name of the strip and the time between launches can be easily changed by modifying the property of the script.
  35.  
  36. Distribute Files 
  37. Double-click this application to copy the selected files in the Finder to the folders or disks installed on the strip "In Boxes".  You can also drop files on the application the copy those files.  The name of the strip can be easily changed by modifying the property of the script.
  38.  
  39. DragStrip Inventory 
  40. Double-click this application to get a complete inventory listing of the items installed on all currently opened strips.  You can also drop DragStrip documents on the application to get a listing of all items installed on the dropped DragStrip documents.  By modifying the properties in the beginning of the script, you can select what information you want to include in the inventory listing.
  41.  
  42.  
  43.  
  44.  
  45. Strip Setting Scripts
  46. DragStrip Default Styles 
  47. This application creates a style script which you can use to set the DragStrip's default strip settings.
  48.  
  49. Strip Styles 
  50. This application creates a style script which you can use to set the style of any strip.
  51.  
  52. DragStrip Styles 
  53. This application creates a style script which you can use to set DragStrip's default style and the style of every opened strip.  All style settings will be identical.
  54.  
  55.  
  56. To create style scripts 
  57. 1.    Double-click on the styling application.
  58. 2.    Select the strip that you want to get the settings from.
  59. The styling application will create a style script based on the settings of the script you specified.
  60. 3.    Enter the name of the style script.
  61. 4.    Open the completed style script with Script Editor.
  62. 5.    Select Save As... from the File menu.
  63. 6.    Select to save as an application and never show startup screen.
  64. 7.    Enter the name to save as and click Save.
  65. The style script will be saved as an application.  Use this application to style your other strips or keep it in a library of style scripts.
  66.  
  67.  
  68.  
  69.  
  70. Where to Get More Information on AppleScript™
  71. Danny Goodman's AppleScript™ Handbook, 2nd Edition, Random House Electronic Publishing
  72. AppleScript Language Guide, Addison-Wesley Publishing Company
  73. AppleScript forum on America Online (keyword APPLESCRIPT)
  74. AppleScript list server
  75.     Send email to:  LISTSERV@dartmouth.edu
  76.     Subject:  subscribe
  77.     Message:  subscribe macscrpt <your full name here>
  78.